package org.obm.cassandra.configuration;

import org.apache.cassandra.server.INodeConfiguration;
import org.apache.cassandra.server.IStorageConfiguration;

public class NodeConfiguration implements INodeConfiguration {

	private String pidPath;
	private StorageConfiguration sc;

	public NodeConfiguration(StorageConfiguration sc) {
		this.pidPath = System.getProperty("user.home") + "/cassandra-obm.pid";
		this.sc = sc;
	}

	@Override
	public String getPIDPath() {
		return pidPath;
	}

	@Override
	public IStorageConfiguration getStorageConfiguration() {
		return sc;
	}

}
